package com.ly.system.system.bean.vo;

import com.ly.common.core.bean.vo.DictVO;
import com.ly.system.system.bean.entity.SysDept;
import com.ly.system.system.bean.entity.SysTenant;
import com.ly.system.system.bean.entity.SysUser;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 系统-用户信息-vo
 *
 * @author luoyun
 * @Date: 2025/5/08 18:18
 * @Note:
 */
@Data
@Schema(description = "系统-用户信息")
public class UserInfoVO {

    /**
     * tokenKey
     */
    @Schema(description = "tokenKey")
    private String tokenKey;

    /**
     * token
     */
    @Schema(description = "token")
    private String token;

    /**
     * 租户信息
     */
    @Schema(description = "租户信息")
    private SysTenant tenant;

    /**
     * 用户
     */
    @Schema(description = "用户")
    private SysUser userInfo;

    /**
     * 部门信息
     */
    @Schema(description = "部门信息")
    private SysDept departs;

    /**
     * 访问量
     */
    @Schema(description = "访问量")
    private Integer multi_depart;

    /**
     * 字典信息
     */
    @Schema(description = "字典信息")
    private Map<String, List<DictVO>> sysAllDictItems;
}
